package com.tmxk.days01.wmh.Test;

public class PeopleTest_wmh {
    public static void main(String[] args) {
        //由类模板生产对象,类是能生产多个实例对象的。
        //创建Person实例对象
        People_wmh people = new People_wmh();
        //给对象实例赋值，
        people.name = "喜洋洋";
        //对象名 方法名()
        people.eat();
        People_wmh people1 = new People_wmh();
        people1.name = "美羊羊";
        people1.eat("村长", 2);

    }
}
